package com.hnguigu.health.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TMeals implements Serializable {
    private Integer id;

    private String code;

    private String name;

    private String typeid;

    private Integer energy;

    private Integer protein;

    private Integer fat;

    private Integer carbohydrate;

    private Integer kcal;

    private Integer kj;

    private Integer hbp;

    private Integer diabetes;

    private Integer chd;

    private Integer stroke;

    private Integer cacd;

    private Integer hyperlipidemia;

    private Integer obesity;

    private Integer ventilate;

    private String explains;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    private TMealsType tMealsType;

}